package com.sangeng.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 文章标签关联表
 * </p>
 *
 * @author lz
 * @since 2024-08-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sg_article_tag")
@ApiModel(value = "ArticleTag对象", description = "文章标签关联表")
@NoArgsConstructor
public class ArticleTag implements Serializable {

    private static final long serialVersionUID = 625337492348897098L;

    @ApiModelProperty(value = "文章id")
    @TableField("article_id")
    private Long articleId;

    @ApiModelProperty(value = "标签id")
    private Long tagId;


}
